﻿using Framework;
using System;
using System.Collections.Generic;
using System.Text;


namespace BooksLib.Models
{
   public  class MyBook : BindableObject
    {
        public int ID { get; set; }


        private string _BookName;
        public string BookName
        {
            get => _BookName;
            set => SetProperty(ref _BookName, value);
        }
        private string _Author;
        public string Author
        {
            get => _Author;
            set => SetProperty(ref _Author, value);
        }

        public override string ToString()
        { return BookName; }

    }
}
